Interface ServicePolicy

All Superinterfaces:
IPCObject
All Known Implementing Classes:
ServicePolicyImpl

public interface ServicePolicy extends IPCObject
Information provided by the PKI file:

    \class ServicePolicy
    
    \brief ServicePolicy holds service-policy configuration
    
    \example network().getDevice("Router0").getServicePolicyManager().getIntfServicePolicy("FastEthernet0")
    
Author:
Auto-generated
  • Method Details

    • getServicePolicyMapName

      String getServicePolicyMapName()
      Information provided by the PKI file:
      
          \brief Returns the policyMap name that is being used
          
              
      Returns:
      String Returns a String
    • getServicePolicyMode

      String getServicePolicyMode()
      Information provided by the PKI file:
      
          \brief Return the service policy mode ("interface"/"global")
          
              
      Returns:
      String Returns a String
    • getServicePolicyIntf

      String getServicePolicyIntf()
      Information provided by the PKI file:
      
          \brief Return the service policy interface nameif
          
              
      Returns:
      String Returns a String
    • toString

      String toString()
      Information provided by the PKI file:
      
          \brief Return the configuration in string
          
              
      Overrides:
      toString in class Object
      Returns:
      String Returns a String